IsEqualTo
TheIsEqualTo
method returns a Boolean value that indicates whether the specified object is equal to this object.
ODBoolean IsEqualTo (in ODObject object);
- object
- A reference to an object to compare to this object.
- return value
kODTrue
if the objects are the same, otherwisekODFalse
.DISCUSSION
You should call this method whenever you need to compare objects for equality. You should never use the equal or not equal operators (for example, the C++==
and!=
operators) to compare references of two objects.SEE ALSO
"Testing objects for equality" on page 471 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help